{include file=member.header.html}
{include file="title.html"}
{include file=member.submenu.html}

<div class="list1">
    <a href="{url app=message&act=send}" class="red_btn" style="margin-bottom:10px;">{$lang.send_message}</a>
    <!--{foreach from=$messages item=message name=v}-->
    <div class="box">
        <h2>{$message.user_info.user_name}</h2>
        <div class="detail">
            <p>{$message.content|truncate:110}</p>
            <p>{$message.last_update|date:Y-m-d H:i}</p>
        </div>
        <div class="opr">
            <a href="{url app=message&act=view&msg_id=$message.msg_id}"  class="white_btn" style="width: 42%;">{$lang.view_detail}</a>  
            <!--{if $smarty.get.act neq 'announcepm'}--><a href="javascript:drop_confirm('{$lang.drop_confirm}', 'index.php?app=message&amp;act=drop&msg_id={$message.msg_id}');" class="white_btn" style="width: 42%;">{$lang.drop}</a><!--{/if}-->
        </div>
    </div>
    <!--{foreachelse}-->
    <div class="null">
        <p>{$lang.no_records}{$lang.$smarty.get.act}</p>
    </div>
    <!--{/foreach}-->
</div>
{include file=member.page.bottom.html}
{include file="member.footer.html"}